package io.gitee.loulan_yxq.owner.mybatisPlus.test.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 成绩表
 * @TableName score
 */
@TableName(value ="score")
@Data
public class Score extends BaseEntity implements Serializable {

    /**
     * 课程id
     */
    @TableField(value = "course_id")
    private Integer courseId;

    /*
    * 学生的id
    * */
    @TableField(value = "student_id")
    private Integer studentId;

    /**
     * 成绩
     */
    @TableField(value = "degree")
    private BigDecimal degree;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}